/*****************************************************************
 MYD Engine v0.1

 file: tstgame.h
 created: 20/06/09
*****************************************************************/
#ifndef TSTGAME_H
#define TSTGAME_H

#include "myd.h"

using namespace myd;

class tstgame : public Game{
public:
	tstgame(HINSTANCE hInstance);
	~tstgame(void);

	//from Game
protected:
	bool onInit();
	bool onLoop();
	bool onDeinit();

	//entities
private:
	Shape *m_pkShape;
	Sprite *m_pkSprite;
	Sprite *m_pkGhost;
	Tilemap *m_pkTilemap;
	Texture::Ptr m_pkTexture;
	Mesh3d *cube;
	float viewX, viewY;

	Sprite* m_pkMapTexture;

	HWND hWnd;

	Basicobject tstmesh;
	Mesh3d tstmesh3d;

};
#endif //TSTGAME_H